using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;  
using System.Data.Linq.Mapping;
using System.Data.Linq;
using System.ComponentModel;

namespace MRSite.Entity  
{
    //用户可用共建值释放 考核数据
     [Table(Name = "report_user_kaohe")] 
	 public class Report_UserKaohe : Entity
    { 
		/// <summary>
		///自增ID
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; } 

		 
		/// <summary>
		///用户ID
		/// </summary>
		[Column(Name = "user_id")]
		public int user_id{ get; set; } 

		 

		/// <summary>
        /// 会员等级
		/// </summary>
		[Column(Name = "levels")]
		public int levels{ get; set; } 

 
		/// <summary>
		/// 统计时间
		/// </summary>
		[Column(Name = "tjtime")]
		public DateTime tjtime{ get; set; } 

		/// <summary>
		/// 是否认证
		/// </summary>
		[Column(Name = "isrenzheng")]
		public int isrenzheng{ get; set; } 

		 
		/// <summary>
		/// 昨日个人贡献值
		/// </summary>
		[Column(Name = "score")]
		public Decimal score{ get; set; } 

         /// <summary>
        /// 昨日个人贡献值考核要求 200
		/// </summary>
        [Column(Name = "score_kh")]
        public Decimal score_kh { get; set; }

        /// <summary>
        /// 到昨日为止，用户累计获得的所有贡献值
        /// </summary>
        [Column(Name = "score_total")]
        public Decimal score_total { get; set; } 

		/// <summary>
		/// 红包要求
		/// </summary>
		[Column(Name = "hongbao_kh")]
		public Decimal hongbao_kh{ get; set; } 

		 

		/// <summary>
		/// 近20日累计红包
		/// </summary>
		[Column(Name = "hongbao")]
		public Decimal hongbao{ get; set; } 

         /// <summary>
		/// 推荐人数
		/// </summary>
        [Column(Name = "tjcount")]
        public int tjcount { get; set; } 
         

		/// <summary>
		/// 直推的用户近30天内日均活跃度
		/// </summary>
		[Column(Name = "zt_huoruedu")]
		public Decimal zt_huoruedu{ get; set; }


        /// <summary>
        /// 直推的用户实名率
        /// </summary>
        [Column(Name = "zt_realname")]
        public Decimal zt_realname { get; set; }

        /// <summary>
        /// 直推的用户近30天消费比例
        /// </summary>
        [Column(Name = "zt_xiaofei")]
        public Decimal zt_xiaofei { get; set; }

        /// <summary>
        /// 直推的用户近30天内人均累计的红包值
        /// </summary>
        [Column(Name = "zt_hongbao")]
        public Decimal zt_hongbao { get; set; }


        /// <summary>
        /// 伞下间推用户近30天内日均活跃度
        /// </summary>
        [Column(Name = "jt_huoruedu")]
        public Decimal jt_huoruedu { get; set; }


        /// <summary>
        /// 间推用户实名率
        /// </summary>
        [Column(Name = "jt_realname")]
        public Decimal jt_realname { get; set; }

        /// <summary>
        /// 间推用户近30天内消费比例
        /// </summary>
        [Column(Name = "jt_xiaofei")]
        public Decimal jt_xiaofei { get; set; }

        /// <summary>
        /// 间推用户近30天内人均累计得到红包值
        /// </summary>
        [Column(Name = "jt_hongbao")]
        public Decimal jt_hongbao { get; set; }

        /// <summary>
        /// 标记：1达标；0未达标
        /// </summary>
        [Column(Name = "flag")]
        public int flag { get; set; } 
		 

		/// <summary>
		/// 添加时间
		/// </summary>
		[Column(Name = "add_time")]
		public DateTime add_time{ get; set; }




        /// <summary>
        /// 直推总人数
        /// </summary>
        [Column(Name = "ztzcount")]
        public int ztzcount { get; set; }

        /// <summary>
        /// 近30天直推用户数量
        /// </summary>
        [Column(Name = "ztzcount30")]
        public int ztzcount30 { get; set; }

        /// <summary>
        /// 预销户数量
        /// </summary>
        [Column(Name = "yxhcount")]
        public int yxhcount { get; set; }
        /// <summary>
        /// 昨日达到活跃要求的直推用户数量
        /// </summary>
        [Column(Name = "huoyuecount")]
        public int huoyuecount { get; set; }

        /// <summary>
        /// 实名认证数量 直推
        /// </summary>
        [Column(Name = "renzhengcount")]
        public int renzhengcount { get; set; }
        /// <summary>
        /// 贡献值3万以内的直推用户数量
        /// </summary>
        [Column(Name = "gongxianzhicount")]
        public int gongxianzhicount { get; set; }
        /// <summary>
        /// 近30天内有消费红包的直推用户数量
        /// </summary>
        [Column(Name = "xiaofei30count")]
        public int xiaofei30count { get; set; }

        /// <summary>
        /// 近30天内有消费红包的直推用户总红包值
        /// </summary>
        [Column(Name = "zxiaofei")]
        public decimal zxiaofei { get; set; }



        /// <summary>
        /// 间推总人数
        /// </summary>
        [Column(Name = "jtzcount")]
        public int jtzcount { get; set; }

        /// <summary>
        /// 近30天间推用户数量
        /// </summary>
        [Column(Name = "jtcount30")]
        public int jtcount30 { get; set; }

        /// <summary>
        /// 预销户数量-间推
        /// </summary>
        [Column(Name = "yxhcount_jt")]
        public int yxhcount_jt { get; set; }

        /// <summary>
        /// 昨日达到活跃要求的用户数量 -间推
        /// </summary>
        [Column(Name = "huoyuecount_jt")]
        public int huoyuecount_jt { get; set; }

        /// <summary>
        /// 实名认证数量-间推
        /// </summary>
        [Column(Name = "renzhengcount_jt")]
        public int renzhengcount_jt { get; set; }
        /// <summary>
        /// 贡献值3万以内的用户数量-间推
        /// </summary>
        [Column(Name = "gongxianzhicount_jt")]
        public int gongxianzhicount_jt { get; set; }
        /// <summary>
        /// 近30天内有消费红包的间推用户数量
        /// </summary>
        [Column(Name = "xiaofei30count_jt")]
        public int xiaofei30count_jt { get; set; }

        /// <summary>
        /// 近30天内有消费红包的间推用户总红包值
        /// </summary>
        [Column(Name = "zxiaofei_jt")]
        public decimal zxiaofei_jt { get; set; } 

	 } 
}    

